﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DefaultStyle.Master" AutoEventWireup="true" CodeBehind="QuanLyDeal.aspx.cs" Inherits="Dack_Web2.QuanLyDeal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" ForeColor="#333333" GridLines="None" Width="608px">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="MaGioHang" 
                HeaderText="MaHang" />
                    <asp:BoundField DataField="Deal.MaDeal" HeaderText="Mã Deal" />
                    <asp:BoundField DataField="DiaChiGiaoHang" HeaderText="Địa chỉ giao" />
                    <asp:BoundField DataField="GioHang.SoLuong" HeaderText="Số lượng giao" />
                    <asp:BoundField DataField="SoDienThoai" HeaderText="Số điện thoại" />
                    <asp:BoundField DataField="TinhTrang" HeaderText="Tình trạng" />
                    <asp:CommandField ShowSelectButton="True" />
                </Columns>
                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                <SortedAscendingCellStyle BackColor="#FDF5AC" />
                <SortedAscendingHeaderStyle BackColor="#4D0000" />
                <SortedDescendingCellStyle BackColor="#FCF6C0" />
                <SortedDescendingHeaderStyle BackColor="#820000" />
            </asp:GridView>
        
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
        Text="Giao hàng" />
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
        Text="Hủy hàng" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
